SCHOOL: a Small Chorded Object-Oriented Language

نویسندگان

  • Sophia Drossopoulou
  • Alexis Petrounias
  • Alex Buckley
  • Susan Eisenbach
چکیده

Chords are a declarative synchronisation construct based on the Join calculus, available in the programming language Cω. Compared with synchronisation constructs in most imperative languages, chords promise development of programs that are more succinct, easier to read, and easier to reason about. However, to our knowledge, chords have no formal model in an object-oriented setting. In this paper we suggest SCHOOL, a formal model for an object-oriented language with chords. We give an operational semantics and type system, and prove soundness of the type system. SCHOOL is minimal, supporting only classes, inheritance and chords. To prove that SCHOOL is sufficient, we define SCHOOL+F, an extension of SCHOOL with fields. We develop an encoding of SCHOOL+F into SCHOOL, and prove soundness and completness of the encoding with respect to the type system and the operational semantics.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Featherweight Model for Chorded Languages

Chords are a concurrency mechanism of object-oriented languages inspired by the join of the Join-Calculus. We present SCHOOL, the Small Chorded Object-Oriented Language, a featherweight model which aims to capture the essence of the concurrent behaviours of chords. Our model serves as a generalisation of chorded behaviours found in existing experimental languages such as Polyphonic C. Furthermo...

متن کامل

Fairness for Chorded Languages

Joins or chords is a concurrency construct that seems to fit well with the object oriented paradigm. Chorded languages are presented with implicit assumptions regarding the fair treatment of processes by the scheduler. We define weak and strong fairness for the Small Chorded Object-Oriented Language (SCHOOL) which allows the classification of executions as fair. We investigate the liveness beha...

متن کامل

On The Design of Chorded Languages

Chords are a concurrency mechanism of object-oriented languages inspired by the join of the Join Calculus. They represent the combination of objectbased program structuring and the chemical metaphor for concurrency. Several modern languages feature chords, among which are Polyphonic C and Cω. Their proponents say that their use will raise the level of abstraction concurrent programs are written...

متن کامل

Modeling and Evaluation of Stochastic Discrete-Event Systems with RayLang Formalism

In recent years, formal methods have been used as an important tool for performance evaluation and verification of a wide range of systems. In the view points of engineers and practitioners, however, there are still some major difficulties in using formal methods. In this paper, we introduce a new formal modeling language to fill the gaps between object-oriented programming languages (OOPLs) us...

متن کامل

Modeling and Evaluation of Stochastic Discrete-Event Systems with RayLang Formalism

In recent years, formal methods have been used as an important tool for performance evaluation and verification of a wide range of systems. In the view points of engineers and practitioners, however, there are still some major difficulties in using formal methods. In this paper, we introduce a new formal modeling language to fill the gaps between object-oriented programming languages (OOPLs) us...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Electr. Notes Theor. Comput. Sci.

دوره 135  شماره 

صفحات  -

تاریخ انتشار 2006